package com.YHVision.qiuzhike.mapper;

import com.YHVision.qiuzhike.model.entity.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;


/**
* @author YHVision-小y
* @description 针对表【question(题目)】的数据库操作Mapper
* @createDate 2024-11-26 09:25:57
* @Entity com.YHVision.qiuzhike.model.entity.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {

    /**
     * 查询数据库包括逻辑删除的字段
     * @param minUpdateTime
     * @return
     */
    @Select("select * from question where update_time > #{minUpdateTime}")
    List<Question> listQuestionWithDelete(Date minUpdateTime);

}




